<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title></title>
	<link rel="stylesheet" href="./css/test.css">
	<style>
		ul {
			font-size: 13px;
		}
		.text {
			font-size: 16px;
			color: #333;
		}
	</style>
</head>

<body>
	<form action="textarea.html" method="post">
		<input aria-required="true" aria-labelledby="loginHome.customerLogin.appleId-label" aria-describedby="loginHome.customerLogin.appleId-error"
		 aria-invalid="true" data-autom="signin-appleid" value="" data-recon-click="binding,actionClick,loginHome.customerLogin.appleId,binding"
		 data-recon-mouseover="binding,actionMouseOver,loginHome.customerLogin.appleId,binding" data-recon-mouseout="binding,actionMouseOut,loginHome.customerLogin.appleId,binding"
		 data-recon-input="binding,setValue,loginHome.customerLogin.appleId,binding" data-recon-change="binding,setValue,loginHome.customerLogin.appleId,binding"
		 data-recon-focusin="binding,setFocus,loginHome.customerLogin.appleId,binding" data-recon-focusout="binding,clearFocus,loginHome.customerLogin.appleId,binding"
		 type="email" id="loginHome.customerLogin.appleId" name="appleId" class="form-textbox form-textbox-text" required=""
		 maxlength="120">
		<input type="email" name="" id="">
		<ul class="login_list">
			<li><label><input type="text" id="" name="username" placeholder="用户名"></label></li>
			<li><label><input type="password" id="password" name="password" placeholder="密码"></label></li>
		</ul>
		<button class="login_btn">
			登录
		</button>
		<input type="text" placeholder="输入手机号" class="text">
	</form>
	<script type="text/javascript">
		console.log(document.styleSheets)
		var form = document.querySelector('form'),
			username = document.getElementById("username"),
			psd = document.getElementById("password");
		form.addEventListener('submit', function (e) {
			e.preventDefault();
			e.stopPropagation();
			if (username.value !== '123') {
				alert('用户名123');
				return false;
			}
			if (psd.value !== '123') {
				alert('密码123');
				return false;
			}
			location.href = '调整.html';
		}, false);
	</script>
</body>

</html>